<!-- saved from url=(0007)http:// -->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>AIMLBot.cCategory</TITLE>
<LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css">
</HEAD>
<BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" >
<DIV CLASS="PageHeading">AIMLBot.cCategory Class</DIV>
<DIV CLASS="Description">

Represents a basic category found within the AIML based brain
<P>

</DIV>
<IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2">
<IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1">
<DIV CLASS="Remarks">
<SPAN CLASS="RemarkHdrX">Access: </SPAN>Public</DIV>
<DIV CLASS="Remarks">
<SPAN CLASS="RemarkHdrX">Base Classes: </SPAN>Object</DIV>
<TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0>
<TR height=20>
<TD width=20>&nbsp;</TD>
<TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD>
<TD CLASS="TableLightLabel" WIDTH=206>Members</TD>
<TD CLASS="TableLightLabel" >Description</TD>
<TD width=20>&nbsp;</TD>
</TR>
<TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP35.HTM" TARGET="CNTFRAME">sPath</A></TD>
<TD CLASS="TableLightDesc">
Holds the category path
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP36.HTM" TARGET="CNTFRAME">sTemplate</A></TD>
<TD CLASS="TableLightDesc">
Holds the response template
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP37.HTM" TARGET="CNTFRAME">alInputStar</A></TD>
<TD CLASS="TableLightDesc">
NOTA BENE: this attribute is only set by a nodemapper when a category 
is returned in response to some user input.
If the raw input part of the PATH contains a wildcard then this attribute 
will contain the block of text (as individual words) that the user has 
inputted that is represented by the wildcard. 
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP38.HTM" TARGET="CNTFRAME">alThatStar</A></TD>
<TD CLASS="TableLightDesc">
NOTA BENE: this attribute is only set by a nodemapper when a category 
is returned in response to some user input.
If the "that" part of the PATH contains a wildcard then this attribute 
will contain the block of text (as individual words) that the user has 
inputted that is represented by the wildcard. 
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP39.HTM" TARGET="CNTFRAME">alTopicStar</A></TD>
<TD CLASS="TableLightDesc">
NOTA BENE: this attribute is only set by a nodemapper when a category 
is returned in response to some user input.
If the "topic" part of the PATH contains a wildcard then this attribute 
will contain the block of text (as individual words) that the user has 
inputted that is represented by the wildcard. 
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP40.HTM" TARGET="CNTFRAME">filename</A></TD>
<TD CLASS="TableLightDesc">
For debugging purposes - holds the name of the file where the aiml that created
this category came from.
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP41.HTM" TARGET="CNTFRAME">cCategory</A></TD>
<TD CLASS="TableLightDesc">
Set the PATH and TEMPLATE attributes for this category
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP42.HTM" TARGET="CNTFRAME">cCategory</A></TD>
<TD CLASS="TableLightDesc">
Overload that allows the new cCategory to be a clone of the passed cCategory
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP43.HTM" TARGET="CNTFRAME">ToString</A></TD>
<TD CLASS="TableLightDesc">
Returns the category response template
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR><TR height=20>
<TD width=20>&nbsp;</TD>
<TD CLASS="TableLightDesc">&nbsp;</TD>
<TD CLASS="TableLightDesc"><A HREF="CWP44.HTM" TARGET="CNTFRAME">checktext</A></TD>
<TD CLASS="TableLightDesc">
Does some simple normalization on the sTemplate (strips whitespaces 
replaces "\n" etc
<P>
</TD>
<TD width=20>&nbsp;</TD>
</TR></TABLE>
<DIV CLASS="RemarkHdr">Remarks:</DIV>
<DIV CLASS="Remarks">

The sPath attribute represents what is being matched with the user's input and
includes the input pattern (from the user's raw input), the "that" element that
holds what the bot's last reply was and the "topic" element that describes the 
value of the topic property for this conversation. An asterisk '*' in the "that"
of "topic" elements denotes empty.

The sTemplate attribute describes how the bot should respond. This string is 
processed by an AIML parser according to the guidelines found in the AIML v1.0.1
specification document (http://www.alicebot.org/TR/2001/WD-aiml/)
<P>
</DIV>
</BODY>
</HTML>
